点击弹出标签名称

function elementName(e){
    e = e || window.event;
    var selected = e.target || e.srcElement;
    aler(selected.tagName);
}

已注销
1 声望0 粉丝